package com.itzol.javablog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itzol.javablog.entity.Post;

import java.util.List;

public interface PostService extends IService<Post> {
    public boolean AddPost(Post post);
    //获取首页文章方法
    public List<Post> GetPost(Integer page,Integer size);
}
